//
//  HLIMKitMessageContentView.h
//  YueYue
//
//  Created by hulu001 on 2024/1/12.
//

#import <UIKit/UIKit.h>
#import "HLIMKitMessageModel.h"

NS_ASSUME_NONNULL_BEGIN
@class HLIMKitEvent;
    
@protocol HLIMKitMessageContentViewDelegate <NSObject>

- (void)onTap:(HLIMKitEvent *)event;

- (void)onLongTap:(NIMMessage *)message onView:(UIView *)onView;

@end

@interface HLIMKitMessageContentView :  UIControl

@property (strong, nonatomic) HLIMKitMessageModel *messageModel;

@property (strong, nonatomic) UIImageView *bubbleImageView;

@property (assign, nonatomic) id<HLIMKitMessageContentViewDelegate> delegate;

- (void)refreshData:(HLIMKitMessageModel *)messageModel;
- (void)onTouchDown:(id)sender;
- (void)onTouchUpInside:(id)sender;
- (void)onTouchUpOutside:(id)sender;
@end

NS_ASSUME_NONNULL_END
